Add hypercall for adding and removing PCI devices
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jul 2008 16:52:50 +0000 (17:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jul 2008 16:52:50 +0000 (17:52 +0100)
commitf83baa47ecfe37e392d5bda49ad1e8f242c434a9
treedeb9eb573663a8c0429347351b578a65ababc080
parentffd9d82c69e26b9c2b3bac6ec769b77dffa06e60
Add hypercall for adding and removing PCI devices

The add hypercall will add a new PCI device and register it.  The
remove hypercall will remove the pci_dev strucure for the device.  The
IOMMU hardware (if present) will be notifed as well.

Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
Signed-off-by: Joshua LeVasseur <joshua.levasseur@netronome.com>
xen/arch/x86/physdev.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/public/physdev.h
xen/include/xen/iommu.h
xen/include/xen/pci.h